package loan.calc.constant.dict;

import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;
import loan.calc.constant.dict.base.DictEnum;

/**
 * @author v_ECD963
 */

@Getter
@DictEnum(value = "FinalPeriodMergeType", description = "末期是否合并")
public enum FinalPeriodMergeTypeEnum implements BaseDictEnum {

    MERGE("自动顺延直至贷款到期"),
    SPLIT("最后一期拆分"),

    ;

    private final String value;

    private final String description;

    FinalPeriodMergeTypeEnum(String description) {
        this.value = name();
        this.description = description;
    }
}
